package com.zhuiyun.pm.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@ConfigurationProperties(prefix = "file")
@Configuration
@Data
public class FileConfigProperties {

    private String rootPath;//根路径
    private String imagePath;//图片路径
    private String filePath;//文件路径
    private String fileType;//文件限制格式
    private String imageType;//图片限制格式
    private long fileMaxSize;//文件上传最大MB
    private long imageMaxSize;//图片上传最大MB
    private String audioType;//音频限制格式
    private String audioPath;//音频路径
    private long audioMaxSize;//音频上传在最大MB

}
